﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient ;
namespace Manager_personnel
{
    class clsconnect
    {
        public SqlConnection con = new SqlConnection();
        public void ketnoiCSDL()
        {
            string connectTring = @"Data Source=TUANVO-PC\SQLEXPRESS;Initial Catalog=manager_human;Integrated Security=True";
            con.ConnectionString = connectTring;
            con.Open();
        }
        public void dongketnoi()
        {
            con.Close();
        }
    }
}
